# takeFocusOnPress attribute

The takeFocusOnPress attribute specifies whether the object will take input focus when pressed. A press is a mouse click, touch screen press or assigned function key press.

The numericInputEnable and stringInputEnable graphic object elements contain this attribute.

FactoryTalk View equivalent: TakeFocusOnPress

## See also

takeFocusOnPress attribute syntax

Numeric and string objects: numericInputEnable object

Numeric and string objects: numericInputCursorPoint object